<template>
<div>
    <div class="common-form">{{$t('plus.other')}}</div>
    <el-form-item
      :label="$t('plus.purchase_limit_quantity')"
      prop="sort"
      :rules="[{  required: true,  message: $t('plus.input_purchase_limit')}]"
    >
      <el-input
        disabled
        type="number"
        v-model="form.limitNum"
        class="max-w460"
      ></el-input>
    </el-form-item>
    <el-form-item
      :label="$t('plus.sort')"
      prop="sort"
      :rules="[{  required: true,  message: $t('plus.input_sort_order2')}]"
    >
      <el-input
        disabled
        type="number"
        v-model="form.sort"
        class="max-w460"
      ></el-input>
    </el-form-item>
    <el-form-item :label="$t('plus.product_status')">
      <el-radio-group v-model="form.status">
        <el-radio :label="10">{{$t('plus.shelf_on')}}</el-radio>
        <el-radio :label="20">{{$t('plus.shelf_off')}}</el-radio>
      </el-radio-group>
    </el-form-item>
  </div>
</template>

<script>
export default {
  inject: ["form"]
};
</script>

